// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

/* 自己引入的elementui */
/* 自己引入elementui js */
import ElementUI from 'element-ui';
/* 自己引入elementui css */
import 'element-ui/lib/theme-chalk/index.css';
/* 告诉vue使用elementui */
Vue.use(ElementUI)
/* 自己引入axios */;
import axios from "axios"
/* 设置全局公共路径 */
axios.defaults.baseURL="https://www.fastmock.site/mock/0571400c29c5ae5779b60ed4891344d4/pethome"
//全局属性配置，在任意组件内可以使用this.$http获取axios对象
Vue.prototype.$http = axios


Vue.config.productionTip = false


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
